package com.xiaoniu.forum.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoniu.forum.entity.MemberFollowEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 关注关系表，通过该表可以知道用户关注了哪些用户、用户被哪些人关注了
 * 
 * @author xiaoniu
 * @email 55333@qq.com
 * @date 2021-04-23 15:00:51
 */
@Mapper
public interface MemberFollowDao extends BaseMapper<MemberFollowEntity> {


    /**
     *   根据粉丝数量分页查询
     */
    List<MemberFollowEntity> selectPageByFansNum(Page page);
}
